<!-- base_layout -->
		<!-- contents -->
			<form name="frm_Yachinsouba" id="frm_Yachinsouba" method="post" action="#">
			<!-- rentSelectTitle01 -->
			<div id="rentSelectTitle01">
				<div class="selectedBlock">
					<p class="category">沿線</p>
					<h2>{$RailName}</h2>
					<p class="btn"><a href="javascript:Research('1')"><img src="/images/search/common/btn_reselect.jpg" alt="選び直す" width="77" height="25" class="rollImg" /></a></p>
				</div>
			</div>
			<!-- /rentSelectTitle01 -->
			<p class="searchAttTxt01">▼エリアの家賃相場を間取りごとに表示しています。</p>
			<!-- rentSelectBtnBlock -->
			<div id="rentSelectBtnBlock">
				<div class="btnBlock">
					<ul>
						{if $tatemonocode == 1}
							<li><img src="/images/search/common/btn_category_all_o.jpg" alt="全体" width="95" height="28"/></li>
						{else}
							<li><a href="javascript:ChangePage('1')" ><img src="/images/search/common/btn_category_all.jpg" alt="全体" width="95" height="28" class="rollImg"/></a></li>
						{/if}
						{if $tatemonocode == 2}
							<li><img src="/images/search/common/btn_category_mansion_o.jpg" alt="賃貸マンション" width="122" height="28" /></li>
						{else}
							<li><a href="javascript:ChangePage('2')" ><img src="/images/search/common/btn_category_mansion.jpg" alt="賃貸マンション" width="122" height="28" class="rollImg" /></a></li>
						{/if}
						{if $tatemonocode == 3}
							<li><img src="/images/search/common/btn_category_apart_o.jpg" alt="賃貸アパート" width="122" height="28" /></li>
						{else}
							<li><a href="javascript:ChangePage('3')"><img src="/images/search/common/btn_category_apart.jpg" alt="賃貸アパート" width="122" height="28" class="rollImg" /></a></li>
						{/if}
						{if $tatemonocode == 4}
							<li><img src="/images/search/common/btn_category_house_o.jpg" alt="借家・賃貸一戸建て" width="149" height="28" /></a></li>
						{else}
							<li><a href="javascript:ChangePage('4')"><img src="/images/search/common/btn_category_house.jpg" alt="借家・賃貸一戸建て" width="149" height="28" class="rollImg" /></a></li>
						{/if}

					</ul>
				</div>
				<div class="iconBlock">
					<ul class="icon">
						<li class="first"><img src="/images/search/common/icon_low.gif" alt="最安値" width="59" height="24" /></li>
						<li class="last"><img src="/images/search/common/icon_high.gif" alt="最高値" width="59" height="24" /></li>
					</ul>
				</div>
				<p class="unit">単位：万円</p>
			</div>
			<!-- /rentSelectBtnBlock -->
			<!-- rentMarketTbl01 -->
			<div id="rentMarketTbl01">
				<table cellspacing="0">
					<tr>
						{if $sort_status0 == 1}
							{if $point_status0 == 0}
								<th class="first"><a href="javascript:PriceSort(2,0,{$tatemonocode})" >地域</a></th>
							{else}
								<th class="first"><a href="javascript:PriceSort(2,0,{$tatemonocode})" class="selected">地域</a></th>
							{/if}
						{else}
							{if $point_status0 == 0}
								<th class="first"><a href="javascript:PriceSort(1,0,{$tatemonocode})" class="desc">地域</a></th>
							{else}
								<th class="first"><a href="javascript:PriceSort(1,0,{$tatemonocode})" class="desc_selected">地域</a></th>
							{/if}
						{/if}

						{if $sort_status1 == 1}
							{if $point_status1 == 0}
								<th><a href="javascript:PriceSort(2,1,{$tatemonocode})">1R</a></th>
							{else}
								<th><a href="javascript:PriceSort(2,1,{$tatemonocode})" class="selected">1R</a></th>
							{/if}
						{else}
							{if $point_status1 == 0}
								<th><a href="javascript:PriceSort(1,1,{$tatemonocode})" class="desc">1R</a></th>
							{else}
								<th><a href="javascript:PriceSort(1,1,{$tatemonocode})" class="desc_selected">1R</a></th>
							{/if}
						{/if}

						{if $sort_status2 == 1}
							{if $point_status2 == 0}
								<th><a href="javascript:PriceSort(2,2,{$tatemonocode})">1K/1DK</a></th>
							{else}
								<th><a href="javascript:PriceSort(2,2,{$tatemonocode})" class="selected">1K/1DK</a></th>
							{/if}
						{else}
							{if $point_status2 == 0}
								<th><a href="javascript:PriceSort(1,2,{$tatemonocode})" class="desc">1K/1DK</a></th>
							{else}
								<th><a href="javascript:PriceSort(1,2,{$tatemonocode})" class="desc_selected">1K/1DK</a></th>
							{/if}
						{/if}

						{if $sort_status3 == 1}
							{if $point_status3 == 0}
								<th><a href="javascript:PriceSort(2,3,{$tatemonocode})">1LDK</a></th>
							{else}
								<th><a href="javascript:PriceSort(2,2,{$tatemonocode})"  class="selected">1K/1DK</a></th>
							{/if}
						{else}
							{if $point_status3 == 0}
								<th><a href="javascript:PriceSort(1,3,{$tatemonocode})" class="desc">1LDK</a></th>
							{else}
								<th><a href="javascript:PriceSort(1,3,{$tatemonocode})" class="desc_selected">1LDK</a></th>
							{/if}
						{/if}

						{if $sort_status4 == 1}
							{if $point_status4 == 0}
								<th><a href="javascript:PriceSort(2,4,{$tatemonocode})">2K/2DK</a></th>
							{else}
								<th><a href="javascript:PriceSort(2,4,{$tatemonocode})" class="selected">2K/2DK</a></th>
							{/if}
						{else}
							{if $point_status4 == 0}
								<th><a href="javascript:PriceSort(1,4,{$tatemonocode})" class="desc">2K/2DK</a></th>
							{else}
								<th><a href="javascript:PriceSort(1,4,{$tatemonocode})" class="desc_selected">2K/2DK</a></th>
							{/if}
						{/if}

						{if $sort_status5 == 1}
							{if $point_status5 == 0}
								<th><a href="javascript:PriceSort(2,5,{$tatemonocode})">2LDK</a></th>
							{else}
								<th><a href="javascript:PriceSort(2,5,{$tatemonocode})" class="selected">2LDK</a></th>
							{/if}
						{else}
							{if $point_status5 == 0}
								<th><a href="javascript:PriceSort(1,5,{$tatemonocode})" class="desc">2LDK</a></th>
							{else}
								<th><a href="javascript:PriceSort(1,5,{$tatemonocode})" class="desc_selected">2LDK</a></th>
							{/if}
						{/if}

						{if $sort_status6 == 1}
							{if $point_status6 == 0}
								<th><a href="javascript:PriceSort(2,6,{$tatemonocode})">3K/3DK</a></th>
							{else}
								<th><a href="javascript:PriceSort(2,6,{$tatemonocode})" class="selected">3K/3DK</a></th>
							{/if}
						{else}
							{if $point_status6 == 0}
								<th><a href="javascript:PriceSort(1,6,{$tatemonocode})" class="desc">3K/3DK</a></th>
							{else}
								<th><a href="javascript:PriceSort(1,6,{$tatemonocode})" class="desc_selected">3K/3DK</a></th>
							{/if}
						{/if}

						{if $sort_status7 == 1}
							{if $point_status7 == 0}
								<th><a href="javascript:PriceSort(2,7,{$tatemonocode})">3LDK</a></th>
							{else}
								<th><a href="javascript:PriceSort(2,7,{$tatemonocode})" class="selected">3LDK</a></th>
							{/if}
						{else}
							{if $point_status7 == 0}
								<th><a href="javascript:PriceSort(1,7,{$tatemonocode})" class="desc">3LDK</a></th>
							{else}
								<th><a href="javascript:PriceSort(1,7,{$tatemonocode})" class="desc_selected">3LDK</a></th>
							{/if}
						{/if}

						{if $sort_status8 == 1}
							{if $point_status8 == 0}
								<th class="last"><a href="javascript:PriceSort(2,8,{$tatemonocode})">4K～</a></th>
							{else}
								<th class="last"><a href="javascript:PriceSort(2,8,{$tatemonocode})" class="selected">4K～</a></th>
							{/if}
						{else}
							{if $point_status8 == 0}
								<th class="last"><a href="javascript:PriceSort(1,8,{$tatemonocode})" class="desc">4K～</a></th>
							{else}
								<th class="last"><a href="javascript:PriceSort(1,8,{$tatemonocode})" class="desc_selected">4K～</a></th>
							{/if}
						{/if}
					</tr>

					{foreach from=$yachinsouba item=record name= info key=StCd}
					<tr>
						<td class="station"><a href="javascript:DetailPage('2','{$StCd}','1','1','{$tatemonocode}')">{$StationHash.$StCd}</a></td>
						{if $record.1R.avg == ""}
						<td>-</td>
						{else}
						<td {if $maxPrice.1R == $StCd}class="highest"{/if}{if $minPrice.1R == $StCd}class="lowest"{/if}><a href="javascript:GoRstobi(2, '{$StCd}', 1,{$tatemonocode})">{$record.1R.avg}</a></td>
						{/if}
						{if $record.1K.avg == ""}
						<td>-</td>
						{else}
						<td {if $maxPrice.1K == $StCd}class="highest"{/if}{if $minPrice.1K == $StCd}class="lowest"{/if}><a href="javascript:GoRstobi(2, '{$StCd}', 2,{$tatemonocode})">{$record.1K.avg}</a></td>
						{/if}
						{if $record.1LDK.avg == ""}
						<td>-</td>
						{else}
						<td {if $maxPrice.1LDK == $StCd}class="highest"{/if}{if $minPrice.1LDK == $StCd}class="lowest"{/if}><a href="javascript:GoRstobi(2, '{$StCd}', 3,{$tatemonocode})">{$record.1LDK.avg}</a></td>
						{/if}
						{if $record.2K.avg == ""}
						<td>-</td>
						{else}
						<td {if $maxPrice.2K == $StCd}class="highest"{/if}{if $minPrice.2K == $StCd}class="lowest"{/if}><a href="javascript:GoRstobi(2, '{$StCd}', 4,{$tatemonocode})">{$record.2K.avg}</a></td>
						{/if}
						{if $record.2LDK.avg == ""}
						<td>-</td>
						{else}
						<td {if $maxPrice.2LDK == $StCd}class="highest"{/if}{if $minPrice.2LDK == $StCd}class="lowest"{/if}><a href="javascript:GoRstobi(2, '{$StCd}', 5,{$tatemonocode})">{$record.2LDK.avg}</a></td>
						{/if}
						{if $record.3K.avg == ""}
						<td>-</td>
						{else}
						<td {if $maxPrice.3K == $StCd}class="highest"{/if}{if $minPrice.3K == $StCd}class="lowest"{/if}><a href="javascript:GoRstobi(2, '{$StCd}', 6,{$tatemonocode})">{$record.3K.avg}</a></td>
						{/if}
						{if $record.3LDK.avg == ""}
						<td>-</td>
						{else}
						<td {if $maxPrice.3LDK == $StCd}class="highest"{/if}{if $minPrice.3LDK == $StCd}class="lowest"{/if}><a href="javascript:GoRstobi(2, '{$StCd}', 7,{$tatemonocode})">{$record.3LDK.avg}</a></td>
						{/if}
						{if $record.4K.avg == ""}
						<td>-</td>
						{else}
						<td {if $maxPrice.4K == $StCd}class="highest"{/if}{if $minPrice.4K == $StCd}class="lowest"{/if}><a href="javascript:GoRstobi(2, '{$StCd}', 8,{$tatemonocode})">{$record.4K.avg}</a></td>
						{/if}
					</tr>
					{/foreach}
				</table>
			</div>
			{$hiddenTag}
			</form>
